package com.example.book.common.executor.interfaces;

import com.example.book.crawler.entity.CrawlerContent;
import com.example.book.in.entity.BookCatalog;

import java.util.Map;

/**
 * @author haocj
 * 异步线程任务接口
 */
public interface ExecutorAsyncService {

    /**
     * 示例
     */
    void executeAsync();

    void saveCatalogByStatus(CrawlerContent crawlerContent, BookCatalog bookCatalog, Map<String, Object> map);

}
